package com.wxq.product.dao;

import com.wxq.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author jim
 * @email 2982877319@qq.com
 * @date 2022-03-13 19:57:58
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
    /**
     * 更新spu状态为已上架
     * @param spuId
     * @param code
     */
    void updataSpuSttus(@Param("spuId") Long spuId, @Param("code") int code);
}
